const express=require('express');
const app=express();

app.get('/',(request,response)=>{
   response.send("首页");
})

app.get("/test",(req,res)=>{
  let data='fn({name: "张三", age: "20"})';;
  res.send(data);
})

app.listen(7000,()=>{
  console.log("你监听的7000端口已启动");
})